﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GoodsAdd_CompanySearch_dl2.aspx.cs"
    Inherits="Manage_GoodsAdd_CompanySearch_dl2" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css" />
</head>
<body>

    <script language="javascript" type="text/javascript">
    function SelelctCompany(CompanyID,CompanyName)
    {
		    var obj=new Object;
		    obj.companyid = CompanyID;
		    obj.companyName = CompanyName;
    	    self.opener.confirmvalue_dl(obj);
		    window.close();
    }
    </script>

    <form id="form1" runat="server">
        <div>
        <br />
        <br />
    <table width="98%" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td align="right" style="height: 26px">
                        企业名称：</td>
                    <td style="height: 26px">
                        <asp:TextBox ID="txtAttorneyName" runat="server" CssClass="input_text" Width="197px"></asp:TextBox>
                    </td>
                                        <td align="right" style="height: 26px">
                        企业编码：</td>
                    <td style="height: 26px">
                        <asp:TextBox ID="txtUserCode" runat="server" CssClass="input_text"></asp:TextBox>
                        
                    </td>
                    <td style="height: 26px">
                        &nbsp;<asp:Button ID="Button5" runat="server" Text=""  CssClass="button_Query"/></td>

                </tr>
            </table>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="talbe_center"  
                          HeaderStyle-CssClass="table_title"  ShowFooter="True"
                Width="98%" OnRowCommand="GridView1_RowCommand" 
                    OnRowUpdating="GridView1_RowUpdating" OnRowCreated="GridView1_RowCreated" 
                    onrowdatabound="GridView1_RowDataBound" Height="189px">
                <Columns>
                    <asp:BoundField DataField="accountid" HeaderText="隐藏列" />
                    <asp:BoundField DataField="companyname" HeaderText="企业名称"  />
                    <asp:BoundField DataField="usercode" HeaderText="注册号" />                    
                    <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                   <asp:LinkButton ID="LinkButton1"  runat="server" CommandName="Update" CausesValidation="false" OnClientClick="return confirm('您的选择将覆盖以前的设置,是否继续?');"  CommandArgument='<%#Eval("accountid")%>'  Text = "选择该企业" ></asp:LinkButton>
                                   
                    </ItemTemplate>
                  </asp:TemplateField>
                    
                </Columns>
                <RowStyle CssClass="table_td" />
                <SelectedRowStyle CssClass="table_td" />
                <FooterStyle CssClass="table_td" />
                <HeaderStyle CssClass="table_title" />
            </asp:GridView>
            <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
        <br />&nbsp;
            <font color=red>说明:</font><font color=yellow><b>黄色</b></font><font color=red>为生产企业自己,如果已选择投标人,则投标人所在记录为</font><font color=green><B>绿色</B></font><font color=red>。颜色只是为了便于醒目。当委托的投标人已经进行投标则生产企业不能再改变投标人!!</font></div>
    </form>
</body>
</html>
